<?php	 	 	
	return array(
		'initial' => 'Draft',
		'node' => array(
			array(
				'id'=>'Draft',
				'constraint'=>'Yii::app()->user->checkAccess("satker")',
				'transition'=>'Siap',
				),
			array(
				'id'=>'Siap',
				'constraint'=>'Yii::app()->user->checkAccess("satker")',
				'transition'=>'Kirimkeelselon1, Koreksiulang',
				),
			array(
				'id'=>'Koreksiulang',
				'label'=>'Koreksi Ulang',
				'constraint'=>'Yii::app()->user->checkAccess("wilayah")',
				'transition'=>'Siap',
				),
			array(
				'id'=>'Kirimkeelselon1',
				'label'=>'Kirim Ke Eselon I',
				'constraint'=>'Yii::app()->user->checkAccess("wilayah")',
				'transition'=>'Reviewulang,Approve',
				),
			array(
				'id'=>'Reviewulang',
				'label'=>'Review Ulang',
				'constraint'=>'Yii::app()->user->checkAccess("eselon1")',
				'transition'=>'Kirimkeelselon1,Koreksiulang'
				),
			array(
				'id'=>'Approve',
				'constraint'=>'Yii::app()->user->checkAccess("eselon1")',
				'transition'=>'Publish',
				),
			array(
				'id'=>'Publish',
				'constraint'=>'Yii::app()->user->checkAccess("lembaga")',
				),
		)
	)
?>